package com.dhcc.sdc.cdss.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * CDSS推荐方案项目日志
 *
 * @ClassName: SdcCdssItemLogEntity
 * @Description: TODO
 * @author zhangdc
 * @date 2023-02-01 14:23:49
 */
@TableName("t_sdc_cdss_item_log")
public class SdcCdssItemLogEntity extends BaseEntity<SdcCdssItemLogEntity> {
    private static final long serialVersionUID = 1L;

    //病种id
    private Long entityId;
    //类型(1 评估 2 检查 3检验 4 治疗方案 5 护理)
    private Integer itemType;
    //操作类型【1：新增】【2：修改】【3：删除】
    private Integer operType;
    //操作日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date operTime;
    //操作人
    private String operUser;
    //操作内容
    private String operContent;
    @TableField(exist = false)
    private String entityName;


    public Long getEntityId() {
        return entityId;
    }

    public void setEntityId(Long entityId) {
        this.entityId = entityId;
    }

    public Integer getItemType() {
        return itemType;
    }

    public void setItemType(Integer itemType) {
        this.itemType = itemType;
    }

    public Integer getOperType() {
        return operType;
    }

    public void setOperType(Integer operType) {
        this.operType = operType;
    }

    public Date getOperTime() {
        return operTime;
    }

    public void setOperTime(Date operTime) {
        this.operTime = operTime;
    }

    public String getOperUser() {
        return operUser;
    }

    public void setOperUser(String operUser) {
        this.operUser = operUser;
    }

    public String getOperContent() {
        return operContent;
    }

    public void setOperContent(String operContent) {
        this.operContent = operContent;
    }

    public String getEntityName() {
        return entityName;
    }

    public void setEntityName(String entityName) {
        this.entityName = entityName;
    }
}
